home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d2 / pophelp.arc / HELPTEXT < prev    next >
Encoding:
Text File  |  1988-06-27  |  63.1 KB  |  3,006 lines

  1. ADDaCOMMAND
  2.  
  3. ADD YOUR OWN COMMANDS:^
  4.  
  5. One of the great things about HELP and
  6. RESHELP is that you are not limited to
  7. the commands supplied on this disk.
  8.  
  9. What you are reading now is included in
  10. the file named HELPTEXT.  It is an ASCII
  11. file that I have included to make it
  12. easy to tailor HELP to your needs.
  13.  
  14. I suggest that you add to this list,
  15. edit it, personalize it, or do whatever
  16. it takes to make it useful for you.
  17.  
  18. You may modify or add to this file by
  19. using EDLIN or the word processor of
  20. your choice.
  21.  
  22. A few things that you may need to know:
  23.  
  24.   Ctrl-E creates yellow text on^ 
  25.   a color monitor or Hi intensity^
  26.   white on a monochrome monitor.^
  27.  
  28.   Ctrl-B creates green text on^
  29.   a color monitor or Hi intensity^  
  30.   white on a monochrome monitor.^
  31.  
  32.   Ctrl-N creates BLINKING TEXT.^
  33.   Blinking text will be red on a color
  34.   monitor or hi intensity white on a
  35.   monochrome monitor.
  36.  
  37.   Shift-6 will return text to
  38.   normal.
  39.  
  40.  
  41. You will need to work  with a 40
  42. character line.  Anything over 40
  43. characters will be lost so be careful.
  44.  
  45. After you have added to or modified the
  46. HELPTEXT file (or created an entirely
  47. new ASCII file using any name that you
  48. wish), you will need to run CONVERT to
  49. convert HELPTEXT into a file that HELP
  50. and RESHELP can use.  
  51.  
  52. ANSI.SYS
  53. COMMAND NAME:^  ANSI.SYS
  54.  
  55. DESCRIPTION:^   ANSI.SYS is a device
  56. driver that allows use of the extended
  57. screen and keyboard features.
  58.  
  59. COMMAND TYPE:^  External
  60.  
  61. VERSION:^   2.0 and up
  62.  
  63. USE:^  DEVICE = ANSI.SYS
  64.  
  65. EXAMPLE:  DEVICE = ANSI.SYS^
  66.  
  67. after this command is placed in the
  68. CONFIG.SYS file, the extended screen and
  69. keyboard drivers will be loaded.
  70.  
  71. NOTE:^  The ANSI.SYS device driver
  72. must be placed in the CONFIG.SYS file
  73. and be used in conjunction with the
  74. DEVICE = DRIVER command. 
  75.  
  76. ASSIGN
  77. COMMAND NAME:^  ASSIGN
  78.  
  79. DESCRIPTION:^   Causes a request for
  80. one drive to be routed to another drive.
  81.  
  82. COMMAND TYPE:^  External
  83.  
  84. VERSION:^   2.0 and up
  85.  
  86. USE:^  ASSIGN [x [=] y[...]]
  87.  
  88. Requests for drive 'x' are routed to
  89. drive 'y'.
  90.  
  91. EXAMPLE:  ASSIGN A=C^
  92.  
  93. After issuing this command, any requests
  94. for drive A: will access drive C:.
  95. e.g.  DIR A: will list the files on
  96. drive C:.
  97.  
  98. ASSIGN entered without parameters will
  99. reset any ASSIGNments.
  100.  
  101. ATTRIB
  102. COMMAND NAME:^  ATTRIB
  103.  
  104. DESCRIPTION:^   Allows you to manually
  105. set the ARCHIVE or READ-ONLY attributes
  106. on any file.
  107.  
  108. COMMAND TYPE:^  External
  109.  
  110. VERSION:^   3.0 and up
  111.  
  112. USE:^  ATTRIB [+R|-R][+A|-A][d:][path]
  113.       [filename]
  114.  
  115. +R^ sets the file attribute to
  116. READ-ONLY.
  117.  
  118. -R^ removes the READ-ONLY file
  119. attribute and allows updating of the
  120. file.
  121.  
  122. +A^ sets the archive bit.
  123.  
  124. -A^ resets the archive bit.
  125.  
  126. d: path filename^ specifies the file
  127. whose attributes will be changed.
  128.  
  129. EXAMPLE:  ATTRIB +R HELP.COM^
  130.  
  131. The above example sets the file
  132. 'HELP.COM' to a READ-ONLY status. 
  133.  
  134. BACKUP
  135. COMMAND NAME:^  BACKUP
  136.  
  137. DESCRIPTION:^   Backs up files from
  138. one disk to another.
  139.  
  140. COMMAND TYPE:^  External 
  141.  
  142. VERSION:^   2.0 and up
  143.  
  144. USE:^  BACKUP d:[path][filename]
  145.       d:[/S][/M][/A][/D:mm-dd-yy]
  146.  
  147. d:\path\filename^ specifies the
  148. source drive (the drive that contains
  149. the files that you want to back up).
  150.  
  151. The second d:^ specifies the
  152. destination drive (the drive to back up
  153. the files to).
  154.  
  155. /S^ includes all subdirectories in the
  156. backup.
  157.  
  158. /M^ backs up files that have been
  159. modified since the last backup.
  160.  
  161. /A^ backs up additional files to a
  162. diskette with back up files already on
  163. it.  Without this option, all files on
  164. the backup diskette will be destroyed. 
  165.  
  166. /D:mm-dd-yy^ backs up files that have
  167. been modified since a specific date.
  168.  
  169. Files created using the BACKUP command
  170. must be RESTOREd to be useful.
  171.  
  172. EXAMPLE:  BACKUP C:\*.* A:/S^
  173.  
  174. This example will back up all files (in
  175. all subdirectories) on drive C: to drive
  176. A:.
  177.  
  178. BREAK
  179. COMMAND NAME:^  BREAK
  180.  
  181. DESCRIPTION:^   Enables or disables
  182. extended CTRL-BREAK checking.
  183.  
  184. COMMAND TYPE:^  Internal
  185.  
  186. VERSION:^   2.0 and up
  187.  
  188. USE:^  BREAK = [ON|OFF]
  189.  
  190. ON and OFF^ are the allowable 
  191. settings.  The default setting is 
  192. BREAK = OFF.
  193.  
  194. When BREAK = OFF, DOS checks for a
  195. CTRL-BREAK only during standard input
  196. operations, standard output operations,
  197. print operations, and auxiliary
  198. operations.
  199.  
  200. EXAMPLE:  BREAK = ON^
  201.  
  202. This example sets the extended BREAK
  203. checking to on.  When BREAK is on, DOS
  204. will respond to CTRL-BREAK at any time.
  205.  
  206. BUFFERS
  207. COMMAND NAME:^  BUFFERS
  208.  
  209. DESCRIPTION:^   Sets the number of
  210. disk buffers allowed.
  211.  
  212. COMMAND TYPE:^  System Configuration
  213.  
  214. VERSION:^   2.0 and up
  215.  
  216. USE:^  BUFFERS = xx
  217.  
  218. xx^ must be a value from 1 to 99
  219. specifying the number of buffers to be
  220. used.  The default value is two buffers.
  221.  
  222. For disk intensive applications such as
  223. a database, more buffers are recom-
  224. mended.  Adding more buffers can speed
  225. up certain applications.  There is a
  226. limit, however, if you set the number of
  227. buffers over 20 it will begin to slow
  228. down applications.
  229.  
  230. EXAMPLE:  BUFFERS = 12^
  231.  
  232. Sets the number of buffers used by the
  233. system to 12.
  234.  
  235. NOTE:^  This command must be placed in
  236. the CONFIG.SYS file and is not a normal
  237. DOS command.
  238.  
  239. CHDIR
  240. COMMAND NAME:^  CHDIR
  241.  
  242. DESCRIPTION:^   Displays or changes
  243. the current working directory.
  244.  
  245. COMMAND TYPE:^  Internal
  246.  
  247. VERSION:^   2.0 and up
  248.  
  249. USE:^  CHDIR [d:][path]
  250.  
  251.    or^
  252.  
  253. CD [d:][path]
  254.  
  255. d: path^ specifies the new drive and
  256. directory that will be made current.
  257.  
  258. If no parameters are used then the
  259. current drive and directory are
  260. displayed.
  261.  
  262. EXAMPLE:  CD \DOS^
  263.  
  264. Sets the working directory to a
  265. directory named DOS if it is available.
  266.  
  267. CHKDSK
  268. COMMAND NAME:^  CHKDSK
  269.  
  270. DESCRIPTION:^   Analyzes the files and
  271. directories on a disk and displays the
  272. total and available disk and RAM memory.
  273.  
  274. COMMAND TYPE:^  External
  275.  
  276. VERSION:^   2.0 and up
  277.  
  278. USE:^  CHKDSK [d:][path][filename]
  279.       [/F][/V]
  280.  
  281. d: path filename^ specifies a filename
  282. to check.  If a filename is specified,
  283. CHKDSK will report the number of
  284. noncontiguous areas occupied by the
  285. file.
  286.  
  287. /F^  corrects errors found in the
  288. directory and in the file allocation
  289. table, other errors are noted, but not
  290. corrected.
  291.  
  292. /V^  displays the paths and filenames
  293. on the specified drive. 
  294.  
  295. If CHKDSK finds invalid or lost
  296. clusters, you will be asked if you want
  297. to convert the lost clusters to files. 
  298. If you used the /F switch and answer yes
  299. to the prompt then the lost clusters
  300. will be converted to files.
  301.  
  302. These files will be named with the
  303. following naming convention:
  304.  
  305.           FILExxxx.CHK^
  306.  
  307. where  xxxx^ is a four digit number
  308. starting with 0000.
  309.  
  310. EXAMPLE:^  CHKDSK C: /F^
  311.  
  312. gives a status report of drive C: and
  313. fixes any errors found in the directory
  314. or the file allocation table.
  315.  
  316. EXAMPLE:^  CHKDSK C:*.*^
  317.  
  318. gives a status report of drive C: and
  319. lists any files that contain non-
  320. contiguous areas (files that are spread
  321. out around the disk).
  322.  
  323. If you have a large number of non-
  324. contiguous areas, it could slow the
  325. system speed considerably.  Performing a
  326. BACKUP and RESTORE of all files will
  327. correct this problem. 
  328.  
  329. CLS
  330. COMMAND NAME:^  CLS
  331.  
  332. DESCRIPTION:^   Clears the display.
  333.  
  334. COMMAND TYPE:^  Internal
  335.  
  336. VERSION:^   2.0 and up
  337.  
  338. USE:^  CLS
  339.  
  340. EXAMPLE:  CLS^
  341.  
  342. clears the screen.
  343.  
  344. COMMAND
  345. COMMAND NAME:^  COMMAND
  346.  
  347. DESCRIPTION:^   Invokes a secondary
  348. command processor.
  349.  
  350. COMMAND TYPE:^  External
  351.  
  352. VERSION:^   2.0 and up
  353.  
  354. USE:^  COMMAND [d:][path][/P]
  355.       [/C string][/E: xxxxx]
  356.  
  357. d: path^ is the drive and path that
  358. DOS will look in for the COMMAND
  359. processor.
  360.  
  361. /P^ makes the secondary command
  362. processor permanent in memory.  If you
  363. use the /P switch you cannot return to
  364. the original command processor.
  365.  
  366. /C string^   passes a string (a DOS
  367. command) to the command processor and
  368. then exits automatically.
  369.  
  370. /E:xxxxx^ is an integer that specifies
  371. the size of the environment.  The
  372. acceptable range of xxxxx is from 160 to
  373. 32768.
  374.  
  375. EXAMPLE:  COMMAND /C CHKDSK^
  376.  
  377. loads a secondary command processor,
  378. passes the command CHKDSK to DOS, and
  379. returns to the original command
  380. processor.
  381.  
  382. COMP
  383. COMMAND NAME:^  COMP
  384.  
  385. DESCRIPTION:^   Compares the contents
  386. of one file (or group of files) to
  387. another.
  388.  
  389. COMMAND TYPE:^  External
  390.  
  391. VERSION:^   2.0 and up
  392.  
  393. USE:^  COMP [d:][path][filename] 
  394.       [d:][path][filename]
  395.  
  396.  
  397. The first d: path filename^ specifies
  398. the first set of files to be compared.
  399.  
  400. The second d: path filename^ specifies
  401. the second set of files to be compared.
  402.  
  403. COMP^ compares files byte for byte. 
  404. Any bytes that do not match are 
  405. displayed. A typical error message would
  406. look like:
  407.  
  408.       Compare error at OFFSET 3B^
  409.       File 1 = 17^
  410.       File 2 = 26^
  411.  
  412. After 10 errors, COMP will abort.
  413.  
  414. EXAMPLE:  COMP A:HELP.* C:^
  415.  
  416. compares the contents of all files with
  417. the filename of HELP and any extension
  418. on drive A: to files on drive C: with
  419. matching filenames.
  420.  
  421. COPY
  422. COMMAND NAME:^  COPY
  423.  
  424. DESCRIPTION:^  Copies a file (or group
  425. of files) to the same or another disk.
  426.  
  427. COMMAND TYPE:^  Internal
  428.  
  429. VERSION:^   2.0 and up
  430.  
  431. USE:^  COPY [/A][/B][d:][path]
  432.       filename [/A][/B][d:][path]
  433.       [filename] [/A][/B][/V]
  434.  
  435.   or^
  436.  
  437. COPY  [/A][/B][d:][path] filename
  438.       [/A][/B][+[d:][path]
  439.       filename [/A][/B]] [d:][path]
  440.       [filename] [/A][/B][/V]
  441.  
  442.   or^
  443.  
  444. COPY  [/A][/B][d:][path] filename
  445.       [/A][/B][+[[,,]d:][path]filename
  446.       [/A][/B]...] [d:][path][filename]
  447.       [/A][/B][/V]
  448.  
  449.  
  450. The first d: path filename^ specifies
  451. the source file.
  452.  
  453. Using the +^ symbol will cause files
  454. to be joined together as they are
  455. copied.  For example:
  456.  
  457. EXAMPLE:   COPY FILE1 + FILE2 FILE3^
  458.  
  459. will copy the contents of FILE1 and
  460. FILE2 into FILE3.
  461.  
  462. The second d: path filename^ specifies
  463. the destination file.
  464.  
  465. When /A^ is used with the source
  466. filename, it will be copied up to the
  467. first end of file marker (Ctrl-Z). 
  468. The rest of the file will not be copied.
  469.  
  470. When /A^ is used with the destination
  471. file, an end of file marker will be
  472. added to the end of the file.
  473.  
  474. When /B^ is used with the source
  475. filename, the entire file will be
  476. copied (including CTRL-Z).
  477.  
  478. When /B^ is used with the destination
  479. filename, no end of file marker will be
  480. added to the end of the file.
  481.  
  482. /V^ verifies that the data is copied
  483. correctly.
  484.  
  485. The +^ symbol will concatenate or
  486. combine files as it copies.
  487.  
  488. EXAMPLE:
  489. COPY FIRST + SECOND  NEWFILE^
  490.  
  491. This command will copy the contents
  492. of the files FIRST and SECOND into the 
  493. file NEWFILET.
  494.  
  495. WILD CARD CHARACTERS:^  Wild Card
  496. characters are allowed within or in
  497. place of filenames.
  498.  
  499. There are two wild card characters, ?^
  500. and *^, that may be used with the copy
  501. command.  The characters ?^ and *^
  502. are very handy for copying groups of
  503. files with a single command.
  504.  
  505. Using the ?^ character within a
  506. filename indicates that any character
  507. can occupy that position in the
  508. filename.
  509.  
  510. EXAMPLE:  COPY FIR??.DAT B:^
  511.  
  512. This command will include files such as
  513.  
  514.    FIRST.DAT^
  515.    FIRMS.DAT^
  516.    FIR01.DAT^
  517.  
  518.  
  519. Using the *^ character within a
  520. filename indicates that any character or
  521. group of characters can occupy that
  522. position.
  523.  
  524. EXAMPLE:  COPY *.DAT B:^
  525.  
  526. This command will include any file with
  527. the extension DAT.  The following files
  528. would be included.
  529.  
  530.     TEST.DAT^
  531.    FIRST.DAT^
  532.     HELP.DAT^
  533.  
  534. COUNTRY
  535. COMMAND NAME:^  COUNTRY
  536.  
  537. DESCRIPTION:^   Selects the date,
  538. time, and currency formats to use for a
  539. specific country.
  540.  
  541. COMMAND TYPE:^  System Configuration
  542.  
  543. VERSION:^   3.0 and up
  544.  
  545. USE:^  COUNTRY = xxx
  546.  
  547. xxx^ is a 3 digit code which
  548. designates a particular country.
  549.  
  550. The following codes and corresponding
  551. countries are listed below.
  552.  
  553. AUSTRALIA      061^
  554. BELGIUM        032^
  555. CANADA/FRENCH  002^
  556. DENMARK        045^
  557. FINLAND        358^
  558. FRANCE         033^
  559. GERMANY        049^
  560. ITALY          039^
  561. ISRAEL         972^
  562. MIDDLE EAST    785^
  563. NETHERLANDS    031^
  564. NORWAY         047^
  565. PORTUGAL       351^
  566. SPAIN          034^
  567. SWEDEN         046^
  568. SWITZERLAND    041^
  569. U. KINGDOM     044^
  570. USA            001^
  571.  
  572. EXAMPLE:  COUNTRY = 001^
  573.  
  574. Sets the COUNTRY code for USA.
  575.  
  576. NOTE:^  This command must be placed in
  577. the CONFIG.SYS file and is not a normal
  578. DOS command.
  579.  
  580. CTTY
  581. COMMAND NAME:^  CTTY
  582.  
  583. DESCRIPTION:^   Changes the standard
  584. input and output device to an auxiliary
  585. device, or restores the keyboard and
  586. screen as the standard input and output
  587. devices.
  588.  
  589. COMMAND TYPE:^  Internal
  590.  
  591. VERSION:^   2.0 and up
  592.  
  593. USE:^  CTTY device
  594.  
  595. The available devices are:
  596.  
  597.   AUX:      ASYNCHRONOUS PORT^
  598.   COM1:     ASYNCHRONOUS PORT^
  599.   COM2:     ASYNCHRONOUS PORT^
  600.   CON:      KEYBOARD INPUT and SCREEN^
  601.             OUTPUT^
  602.  
  603. EXAMPLE:  CTTY COM1^
  604.  
  605. After this command is performed, all
  606. standard input and output will be sent
  607. to and taken from the primary
  608. asynchronous port.
  609.  
  610. DATE
  611. COMMAND NAME:^  DATE
  612.  
  613. DESCRIPTION:^   Displays or sets the
  614. system date.
  615.  
  616. COMMAND TYPE:^  Internal
  617.  
  618. VERSION:^   2.0 and up
  619.  
  620. USE:^  DATE [mm-dd-yy]
  621.  
  622. If DATE is entered with no parameters,
  623. the current date will be displayed and
  624. you will be prompted to enter a new
  625. date.  If the date is correct, simply
  626. press ENTER.
  627.  
  628. If you wish, you may enter the date
  629. immediately after DATE in the format
  630. mm-dd-yy.  
  631.  
  632. mm^ is a two digit month designation.
  633.   
  634. dd^ is a two digit day designation.
  635.  
  636. yy^ is a two digit year designation.
  637.  
  638. EXAMPLE:  DATE 03-15-90^
  639.  
  640. Sets the system date to March 15, 1990.
  641.  
  642. DEL
  643. COMMAND NAME:^  DEL
  644.  
  645. DESCRIPTION:^   Deletes a file (or
  646. group of files) from a disk.
  647.  
  648. COMMAND TYPE:^  Internal
  649.  
  650. VERSION:^   2.0 and up
  651.  
  652. USE:^  DEL [d:][path] filename
  653.  
  654. d: path filename^ specifies the file
  655. to DELete.
  656.  
  657. EXAMPLE:  DEL A:TEST.DAT^
  658.  
  659. Deletes the file TEST.DAT from drive A:
  660.  
  661. DEVICE
  662. COMMAND NAME:^  DEVICE
  663.  
  664. DESCRIPTION:^   Allows MS-DOS to load
  665. and utilize a device driver.
  666.  
  667. COMMAND TYPE:^  System Configuration
  668.  
  669. VERSION:^   2.0 and up
  670.  
  671. USE:^  DEVICE = [d:][path]filename
  672.  
  673. d: path filename^ specifies the file
  674. to use as a device driver.
  675.  
  676. All DEVICE drivers must be included in
  677. the CONFIG.SYS file to operate properly.
  678.  
  679. Three DEVICE drivers are standard.
  680.  
  681.   ANSI.SYS^
  682.   DRIVER.SYS^
  683.   VDISK.SYS^
  684.  
  685.  
  686. ANSI.SYS^ gives you access to extended
  687. keyboard and screen control.
  688.  
  689. The format for installing ANSI.SYS is:
  690.  
  691. DEVICE = ANSI.SYS^
  692.  
  693.  
  694. DRIVER.SYS^ allows access of a disk
  695. device.
  696.  
  697. The format for installing DRIVER.SYS is:
  698.  
  699. DEVICE=DRIVER.SYS /D:ddd[/T:ttt]^
  700. [/S:ss][/H:hh][/C][/N][/F:f]^
  701.  
  702. /D:ddd^ specifies the physical drive
  703. number.  Values of 0 to 255 are
  704. accepted.
  705.  
  706. /T:ttt^ specifies the number of tracks
  707. per side.  Values of 1 to 999 are
  708. accepted.
  709.  
  710. /S:ss^ specifies the number of sectors
  711. per track.  Values of 1 to 99 are
  712. accepted.
  713.  
  714. /H:hh^ specifies the maximum number of
  715. heads.  Values of 1 to 99 are accepted.
  716.  
  717. /C^ specifies that changeline support
  718. is required.
  719.  
  720. /N^ specifies that the disk is not
  721. removable.
  722.  
  723. /F:f^ specifies the device type.
  724.  
  725.  
  726. VDISK^ sets up a virtual disk. 
  727. Virtual disks actually make your
  728. computer's memory act like a disk drive.
  729. As a result, a virtual disk will be much
  730. faster than an actual disk.
  731.  
  732. The format for installing VDISK.SYS is:
  733.  
  734. DEVICE=VDISK.SYS[comment][bbb]^
  735. [comment][sss][comment][ddd][/E[:m]]^
  736.  
  737. comment^ is a message containing
  738. normal
  739. text characters.
  740.  
  741. bbb^ is the size of the virtual disk
  742. in Kbytes.  Values between 1K and the
  743. memory available in your machine will be
  744. accepted.
  745.  
  746. sss^ is the sector size in bytes. 
  747. 128, 256, and 512 are the sizes that
  748. will be accepted.
  749.  
  750. Smaller sector sizes will utilize space
  751. better.  Larger sector sizes will
  752. improve performance.
  753.  
  754. ddd^ is the number of files that the
  755. virtual disk can hold.  Values between 2
  756. and 512 are accepted.
  757.  
  758. /E^ will force VDISK to use the
  759. extended memory (memory above 1 
  760. megabyte).
  761.  
  762. EXAMPLE: DEVICE=VDISK.SYS 200 256 64
  763. ^
  764. sets up a virtual disk with 200K storage
  765. space, 256 bytes per sector, and 64
  766. directory entries.
  767.  
  768. NOTE:^  All of these device drivers
  769. must be placed in the CONFIG.SYS file
  770. and be used in conjunction with the
  771. DEVICE = DRIVER command.  These are not
  772. commands which are available at the DOS
  773. level. 
  774.  
  775. DIR
  776. COMMAND NAME:^  DIR
  777.  
  778. DESCRIPTION:^   Lists the files in a
  779. directory.
  780.  
  781. COMMAND TYPE:^  Internal
  782.  
  783. VERSION:^   2.0 and up
  784.  
  785. USE:^  DIR [d:][path][filename]
  786.       [/P][/W]
  787.  
  788. d: path filename^ specifies the drive,
  789. path, and filenames to list.
  790.  
  791. /P^ will PAUSE the listing each time a
  792. screen full of file names appears.  You
  793. will be asked to press a key when you
  794. are ready to continue.  This keeps the
  795. files from scrolling by faster than you
  796. can read them.
  797.  
  798. /W^ will list the files in a WIDE
  799. format.  Only the file names will be
  800. listed and they will be listed five
  801. across.  You can fit a much larger
  802. directory on the screen this way.
  803.  
  804. EXAMPLE:  DIR *.BAS /W^
  805.  
  806. lists all files on the current disk with
  807. the extension .BAS using the WIDE
  808. format.
  809.  
  810. WILD CARD CHARACTERS:^  Wild Card
  811. characters are allowed within or in
  812. place of filenames.
  813.  
  814. There are two wild card characters, ?^
  815. and *^, that may be used with the DIR
  816. command.  The characters ?^ and *^
  817. are very handy for listing groups of
  818. files with a single command.
  819.  
  820. Using the ?^ character within a
  821. filename indicates that any character
  822. can occupy that position in the
  823. filename.
  824.  
  825. EXAMPLE:  DIR FIR??.DAT^
  826.  
  827. This command will list files such as
  828.  
  829.    FIRST.DAT^
  830.    FIRMS.DAT^
  831.    FIR01.DAT^
  832.  
  833.  
  834. Using the *^ character within a
  835. filename indicates that any character or
  836. group of characters can occupy that
  837. position.
  838.  
  839. EXAMPLE:  DIR *.DAT^
  840.  
  841. This command will list any file with
  842. the extension DAT.  The following files
  843. would be included.
  844.  
  845.     TEST.DAT^
  846.    FIRST.DAT^
  847.     HELP.DAT^
  848.  
  849. DISKCOMP
  850. COMMAND NAME:^  DISKCOMP
  851.  
  852. DESCRIPTION:^   Compares the contents
  853. of one diskette to another.
  854.  
  855. COMMAND TYPE:^  External
  856.  
  857. VERSION:^   2.0 and up
  858.  
  859. USE:^  DISKCOMP [d:[d:]] [/1][/8]
  860.  
  861. d: d:^ are the two disk drives to be
  862. compared.
  863.  
  864. /1^ compares the first side of the
  865. disk only, even if the disk is double
  866. sided.
  867.  
  868. /8^ compares eight sectors per track
  869. instead of nine.
  870.  
  871. DISKCOMP will operate on floppy disks
  872. only.
  873.  
  874. EXAMPLE:  DISKCOMP A: B: /1^
  875.  
  876. compares the contents of the disk in
  877. drive A: (track by track) to the
  878. contents of the disk in drive B: using
  879. only the first side.
  880.  
  881. DISKCOPY
  882. COMMAND NAME:^  DISKCOPY
  883.  
  884. DESCRIPTION:^   Copies the contents of
  885. one diskette to another.  The
  886. destination diskette will automatically
  887. be formatted if necessary.
  888.  
  889. COMMAND TYPE:^  External
  890.  
  891. VERSION:^   2.0 and up
  892.  
  893. USE:^  DISKCOPY [d:[d:]][/1]
  894.  
  895. The first d:^ is the source disk for
  896. the DISKCOPY.
  897.  
  898. The second d:^ is the destination disk
  899. for the DISKCOPY.
  900.  
  901. /1^ copies only the first side of the
  902. disk.
  903.  
  904. If the destination disk has not been
  905. formatted, then DISKCOPY will format as
  906. it copies.
  907.  
  908. DISKCOPY is performed on floppy disks
  909. only.  An attempt to use DISKCOPY with a
  910. fixed disk will not work.
  911.  
  912. DISKCOPY makes a mirror image copy of
  913. a diskette on to another diskette.  As a
  914. result, any flaws or fragmented files
  915. will also be copied over.  The COPY or
  916. XCOPY commands would work much better
  917. under these circumstances.
  918.  
  919. EXAMPLE:  DISKCOPY A: B:^
  920.  
  921. creates a mirror image copy of the disk
  922. in drive A: on to the disk in drive B:.
  923.  
  924. DRIVER.SYS
  925. COMMAND NAME:^  DRIVER.SYS
  926.  
  927. DESCRIPTION:^   DRIVER.SYS allows
  928. access of a disk device.
  929.  
  930. COMMAND TYPE:^  EXTERNAL
  931.  
  932. VERSION:  3.2 and up
  933.  
  934. USE:^  DEVICE=DRIVER.SYS /D:ddd
  935.       [/T:ttt][/S:ss][/H:hh][/C]
  936.       [/N][/F:f]^
  937.  
  938. /D:ddd^ specifies the physical drive
  939. number.  Values of 0 to 255 are
  940. accepted.
  941.  
  942. /T:ttt^ specifies the number of tracks
  943. per side.  Values of 1 to 999 are
  944. accepted.
  945.  
  946. /S:ss^ specifies the number of sectors
  947. per track.  Values of 1 to 99 are
  948. accepted.
  949.  
  950. /H:hh^ specifies the maximum number of
  951. heads.  Values of 1 to 99 are accepted.
  952.  
  953. /C^ specifies that changeline support
  954. is required.
  955.  
  956. /N^ specifies that the disk is not
  957. removable.
  958.  
  959. /F:f^ specifies the device type.
  960.  
  961. NOTE:^  The DRIVER.SYS device driver
  962. must be placed in the CONFIG.SYS file
  963. and be used in conjunction with the
  964. DEVICE = DRIVER command. 
  965.  
  966. ECHO
  967. COMMAND NAME:^  ECHO
  968.  
  969. DESCRIPTION:^   Enables or disables
  970. the screen display of DOS commands
  971. during the execution of batch files.
  972.  
  973. COMMAND TYPE:^  Internal (batch)
  974.  
  975. VERSION:^   2.0 and up
  976.  
  977. USE:^  ECHO [ON|OFF][message]
  978.  
  979. ON | OFF^ turns ECHO on or off.
  980.  
  981. message^ is a text message that will
  982. be displayed on the screen.
  983.  
  984. EXAMPLE:  ECHO OFF^
  985.  
  986. After turning ECHO off, any batch file
  987. commands encountered by DOS will not be
  988. echoed to the screen.
  989.  
  990. EDLIN
  991. COMMAND NAME:^  EDLIN
  992.  
  993. DESCRIPTION:^   EDLIN is a line
  994. editor.  It can be used to create, edit,
  995. and display ASCII files.
  996.  
  997. COMMAND TYPE:^  External
  998.  
  999. VERSION:^   2.0 and up
  1000.  
  1001. USE:^  EDLIN [d:][path] filename [/B]
  1002.  
  1003. d: path filename^ specifies the name
  1004. of the file to create or edit.  If the
  1005. /B^ parameter is not used, EDLIN will
  1006. stop loading the specified file when the
  1007. first end of file marker (Ctrl-Z) is
  1008. encountered.  If /B^ is used, the
  1009. entire file will be loaded.
  1010.  
  1011. EXAMPLE:  EDLIN HELPTEXT^
  1012.  
  1013. Opens the file HELPTEXT for editing if
  1014. it already exists or creates a file if
  1015. HELPTEXT can't be found.
  1016.  
  1017. EDLIN will perform a number of editing
  1018. commands.  The commands and formats are
  1019. summarized below.
  1020.  
  1021. Many commands will allow you to specify
  1022. line numbers.  You may use the symbol
  1023. .^ in place of the current line number
  1024. and #^ in place of the line number of
  1025. the last line in the buffer.
  1026.  
  1027. A - APPEND  ^loads lines from the    
  1028. disk and places them at the end of
  1029. the input buffer.
  1030.  
  1031. USE:  ^[n]A
  1032.  
  1033. [n]^ specifies the number of lines to
  1034. append to the current file.
  1035.  
  1036.  
  1037. C - COPY  ^copies the contents of a 
  1038. line or range of lines to another
  1039. location.
  1040.  
  1041. USE:  ^[line],[line],line[,count]C
  1042.  
  1043. The first two [line]'s^ specify the
  1044. range of lines to copy.  The third
  1045. [line]^ specifies the line to copy to.
  1046.  
  1047. [count]^ specifies the number of times
  1048. that the copy will be performed.
  1049.  
  1050. D - DELETE  ^deletes a line or range 
  1051. of lines.
  1052.  
  1053. USE:  ^[line][,line]D
  1054.  
  1055. The [line]^ parameters specify the
  1056. first and last line to delete.
  1057.  
  1058. EDIT  ^calls up a line of text for
  1059. editing.
  1060.  
  1061. USE:  ^[line]
  1062.  
  1063. [line]^ specifies the line to edit.
  1064.  
  1065. E - END  ^saves the current file and
  1066. exits EDLIN.
  1067.  
  1068. I - INSERT  ^inserts lines of text in 
  1069. the current file.
  1070.  
  1071. USE  ^[line] I
  1072.  
  1073. [line]^ specifies the line number
  1074. where the insert will begin.
  1075.  
  1076. L - LIST  ^displays a line or range 
  1077. of lines.
  1078.  
  1079. USE:  ^[line][,line] L
  1080.  
  1081. [line][,line]^ specifies the first and
  1082. last lines to list.
  1083.  
  1084. M - MOVE  ^moves a line or range of 
  1085. lines to a specified line.
  1086.  
  1087. USE:  ^[line],[line],line M
  1088.  
  1089. The first two [line]'s^ specify the
  1090. first and last lines to move.  The third
  1091. occurence of line^ specifies the line 
  1092. number where the text will be moved to.
  1093.  
  1094. P - PAGE  ^allows you to scroll    
  1095. through a file one PAGE (23 lines) at a
  1096. time.
  1097.  
  1098. USE:  ^[line][,line] P
  1099.  
  1100. [line][,line]^ specifies the first and
  1101. last lines to display.
  1102.  
  1103. Q - QUIT  ^exits EDLIN without     
  1104. saving the current file.
  1105.  
  1106. R - REPLACE  ^replaces all occurrences
  1107. of a specified string with a second
  1108. string.
  1109.  
  1110. USE:  ^
  1111. [line][,line][?]  R[string1][^Zstring2]
  1112.  
  1113. [line] and [,line]^ specify the range
  1114. of lines to perform the REPLACE on.  The
  1115. optional ?^ will request an O.K.?^
  1116. prompt after each replace.  string1^
  1117. specifies the string to search for and
  1118. string2^ is the string to replace it
  1119. with.
  1120.  
  1121.  
  1122. S - SEARCH  ^searches for a specified
  1123. string.
  1124.  
  1125. USE:  ^[line][,line][?] Sstring
  1126.  
  1127. [line] and [,line]^ specify the range
  1128. of lines to perform the SEARCH on.  The
  1129. optional ?^ will request an O.K.?^
  1130. prompt after each replace.  string^ is
  1131. the string to search for.
  1132.  
  1133.  
  1134. T - TRANSFER  ^loads the contents of a
  1135. specified file into the file currently
  1136. being edited.
  1137.  
  1138. USE:  ^[line] Tfilespec
  1139.  
  1140. [line]^ specifies the location where
  1141. the file being TRANSFERred (merged) will
  1142. be placed.  filespec^ is the file to
  1143. be TRANSFERred.
  1144.  
  1145. W - WRITE  ^writes lines to disk    
  1146. from the file currently being edited. 
  1147. This command is used to free up memory.
  1148.  
  1149. USE:  ^[n] W
  1150.  
  1151. [n]^ specifies the number of lines to
  1152. write to disk.
  1153.  
  1154.  
  1155. ERASE
  1156. COMMAND NAME:^  ERASE
  1157.  
  1158. DESCRIPTION:^   Removes a file (or
  1159. group of files) from a disk.
  1160.  
  1161. COMMAND TYPE:^  Internal
  1162.  
  1163. VERSION:^   2.0 and up
  1164.  
  1165. USE:^  ERASE [d:][path] filename
  1166.  
  1167. d: path filename^ specifies the file
  1168. to ERASE.
  1169.  
  1170. EXAMPLE:  ERASE A:TEST.DAT^
  1171.  
  1172. Deletes the file TEST.DAT from drive A:
  1173.  
  1174. EXE2BIN
  1175. COMMAND NAME:^  EXE2BIN
  1176.  
  1177. DESCRIPTION:^   Converts a file from
  1178. the .EXE format to .COM or .BIN formats.
  1179.  
  1180. COMMAND TYPE:^  External
  1181.  
  1182. VERSION:^   2.0 and up
  1183.  
  1184. USE:^  EXE2BIN [d:][path]filename
  1185.       [d:][path][filename]
  1186.  
  1187. The first [d:][path]filename^
  1188. specifies the name of the input file
  1189. (.EXE file).
  1190.  
  1191. The second [d:][path][filename]^
  1192. specifies the name of the output file
  1193. (.COM file).
  1194.  
  1195. FCBS
  1196. COMMAND NAME:^  FCBS
  1197.  
  1198. DESCRIPTION:^   Specifies the number
  1199. of file control blocks that may be open
  1200. at one time by DOS.
  1201.  
  1202. COMMAND TYPE:^  System Configuration
  1203.  
  1204. VERSION:^   3.0 and up
  1205.  
  1206. USE:^  FCBS = m,n
  1207.  
  1208. m^ specifies the number of files that
  1209. can be opened by file control blocks at
  1210. one time.  Acceptable values are 1 to
  1211. 255.
  1212.  
  1213. n^ specifies the number files that DOS
  1214. cannot automatically close.
  1215.  
  1216. NOTE:^  This command must be placed in
  1217. the CONFIG.SYS file and is not a normal
  1218. DOS command.
  1219.  
  1220. FDISK
  1221. COMMAND NAME:^  FDISK
  1222.  
  1223. DESCRIPTION:^   Installs a partition
  1224. on a hard disk drive for MS-DOS and
  1225. prepares it for formatting.
  1226.  
  1227. COMMAND TYPE:^  External
  1228.  
  1229. VERSION:^   2.0 and up
  1230.  
  1231. USE:^  FDISK
  1232.  
  1233. FDISK is a menu driven program.  If you
  1234. have any questions as to what any
  1235. particular options do, you should refer
  1236. to your GUIDE TO OPERATIONS.
  1237.  
  1238. NOTE:^  Be careful with this command
  1239. because you will probably destroy any
  1240. data that is on your disk.
  1241.  
  1242. FILES
  1243. COMMAND NAME:^  FILES
  1244.  
  1245. DESCRIPTION:^   Determines the number
  1246. of files that can be open at any one
  1247. time.
  1248.  
  1249. COMMAND TYPE:^  System Configuration
  1250.  
  1251. VERSION:^   2.0 and up
  1252.  
  1253. USE:^  FILES = xx
  1254.  
  1255. xx^ specifies the number of files that
  1256. can be open at one time.  The acceptable
  1257. values are 8 to 255.
  1258.  
  1259. EXAMPLE:  FILES = 15^
  1260.  
  1261. after this command is placed in the
  1262. CONFIG.SYS file, up to 15 files may be
  1263. open at one time.
  1264.  
  1265. NOTE:^  This command must be placed in
  1266. the CONFIG.SYS file and is not a normal
  1267. DOS command.
  1268.  
  1269. FIND
  1270. COMMAND NAME:^  FIND
  1271.  
  1272. DESCRIPTION:^   Searches a file for a
  1273. specific string of text.
  1274.  
  1275. COMMAND TYPE:^  External
  1276.  
  1277. VERSION:^   2.0 and up
  1278.  
  1279. USE:^  FIND [/V][/C][/N]"string"
  1280.       [[d:][path]filename...]
  1281.  
  1282. /V^ displays the lines that don't
  1283. contain the requested string.
  1284.  
  1285. /C^ displays the number of lines that
  1286. contain a match of the requested string.
  1287.  
  1288. /N^ displays the number of each line
  1289. that contains a match of the requested
  1290. string along with the line of text.
  1291.  
  1292. "string"^ is the string of text to
  1293. search for.
  1294.  
  1295. If no parameters are entered, all lines
  1296. that contain a match of the requested
  1297. string will be displayed.
  1298.  
  1299. The string must be an exact match.  For
  1300. example TEST and test will not be a
  1301. match.
  1302.  
  1303. d: path filename^ is the file to be
  1304. searched.
  1305.  
  1306. You may search for a string through
  1307. several files using one command by
  1308. listing them in succession.
  1309.  
  1310. EXAMPLE:^ FIND "test" file1 file2 ^
  1311.  
  1312. would display all lines contained in
  1313. file1, file2, and so on that contain the
  1314. string "test".
  1315.  
  1316. If you need to search for a string
  1317. containing a double quote, simply use
  1318. two quotes in succession.  In other
  1319. words, to find "test", you would enter:
  1320.  
  1321. FIND ""test""^
  1322.  
  1323. FOR
  1324. COMMAND NAME:^  FOR
  1325.  
  1326. DESCRIPTION:^   Repeats a command for
  1327. several variables in a batch file.
  1328.  
  1329. COMMAND TYPE:^  Internal (batch)
  1330.  
  1331. VERSION:^   2.0 and up
  1332.  
  1333. USE:^  FOR %%variable IN(set) DO
  1334.       command
  1335.  
  1336. %%variable^ represents a variable that
  1337. will be sequentially set to each value
  1338. in set^.  If the FOR command is used
  1339. in a batch file, %%variable^ must be
  1340. used, if the FOR command is used at the
  1341. DOS level, only one %^ is required.
  1342.  
  1343. set^ contains the actual values that
  1344. %%variable^ will represent when the
  1345. command is executed.  Wildcard
  1346. characters are allowed in set.
  1347.  
  1348. command^ is the DOS command that will
  1349. be repeated.
  1350.  
  1351. EXAMPLE:^
  1352. FOR %%g IN(*.TXT) DO TYPE  %%g^
  1353.  
  1354. when this command is encountered in a
  1355. batch file, all files with the extension
  1356. .TXT will be TYPEd (displayed on the
  1357. screen).
  1358.  
  1359. FORMAT
  1360. COMMAND NAME:^  FORMAT
  1361.  
  1362. DESCRIPTION:^   Initializes a disk or
  1363. partition, checks for any defective
  1364. tracks, and prepares the disk to accept
  1365. DOS files.
  1366.  
  1367. COMMAND TYPE:^  External
  1368.  
  1369. VERSION:^   2.0 and up
  1370.  
  1371. USE:^  FORMAT [d:][/S][/1][/8][/V][/B]
  1372.       [/4]
  1373.  
  1374.  
  1375. d:^ is the drive to be formatted.
  1376.  
  1377. /S^ copies the system files from the
  1378. source disk to the destination disk and
  1379. makes the disk bootable.  There are
  1380. three system files:
  1381.  
  1382.    IBMBIO.COM^
  1383.    IBMDOS.COM^
  1384.    COMMAND.COM^
  1385.  
  1386. /1^ formats a diskette on 1 side only
  1387. making it a single sided diskette
  1388. regardless of the drive type used.
  1389.  
  1390. /8^ formats a disk using 8 sectors per
  1391. track.  To remain compatible with
  1392. version 1.1 of DOS, this will be
  1393. required.
  1394.  
  1395. /V^ will allow you to add a volume
  1396. label to the diskette being formatted. 
  1397. Volume labels are a way to identify
  1398. individual diskettes.
  1399.  
  1400. /B^ formats a diskette using 8 sectors
  1401. per track and allocates space for system
  1402. files to be transferred later (using the
  1403. SYS command).  Using the /B option will
  1404. allow you to install any version of the
  1405. DOS system files.
  1406.  
  1407. /4^ formats a double sided diskette in
  1408. a high capacity drive.  
  1409.  
  1410.  
  1411. EXAMPLE:  FORMAT C: /S /V^
  1412.  
  1413. FORMATS drive C:, copies the SYSTEM
  1414. files to drive C:, and prompts the user
  1415. for a VOLUME LABEL.
  1416.  
  1417. GOTO
  1418. COMMAND NAME:^  GOTO
  1419.  
  1420. DESCRIPTION:^   Transfers control of a
  1421. batch file to the command after the line
  1422. containing the appropriate label.
  1423.  
  1424. COMMAND TYPE:^  Internal (batch)
  1425.  
  1426. VERSION:^   2.0 and up
  1427.  
  1428. USE:^  GOTO :label
  1429.  
  1430. In a batch file, a label is a word
  1431. preceded by a colon (:).  These lines
  1432. are ignored when the batch file is
  1433. executed.
  1434.  
  1435. EXAMPLE:  :START^
  1436.           DIR^
  1437.           GOTO START^
  1438.  
  1439. will create a never ending loop of
  1440. directories printed to the screen.  Each
  1441. time GOTO START is encountered, the
  1442. routine starting at :START is executed.
  1443.  
  1444. GRAFTABL
  1445. COMMAND NAME:^  GRAFTABL
  1446.  
  1447. DESCRIPTION:^   Loads additional
  1448. foreign language characters into memory.
  1449. For use with the color graphics adapter.
  1450.  
  1451. COMMAND TYPE:^  External
  1452.  
  1453. VERSION:^   3.0 and up
  1454.  
  1455. USE:^  GRAFTABL
  1456.  
  1457. EXAMPLE:  GRAFTABL^
  1458.  
  1459. loads additional characters into memory
  1460. allowing them to be used in the graphics
  1461. mode.
  1462.  
  1463. GRAPHICS
  1464. COMMAND NAME:^  GRAPHICS
  1465.  
  1466. DESCRIPTION:^   The GRAPHICS command
  1467. will make it possible to dump graphics
  1468. displays to the printer when the SHIFT
  1469. and PrtSc keys are pressed.  To work
  1470. properly, the printer must be a
  1471. compatible printer type.
  1472.  
  1473. COMMAND TYPE:^  External
  1474.  
  1475. VERSION:^   2.0 and up
  1476.  
  1477. USE:^  GRAPHICS [printer type][/R][/B]
  1478.  
  1479. printer type^ can be one of five types
  1480. of printers.
  1481.  
  1482. COLOR1^ - IBM Color Printer with a
  1483. black ribbon.
  1484.  
  1485. COLOR4^ - IBM Color Printer with red,
  1486. green, blue, and black ribbon.
  1487.  
  1488. COLOR8^ - IBM Color Printer with cyan,
  1489. magenta, yellow, and black ribbon.
  1490.  
  1491. COMPACT^ - IBM Compact printer.
  1492.  
  1493. GRAPHICS^ - IBM Graphics Printer.
  1494.  
  1495.  
  1496. /R^ to print black and white on the
  1497. printer as they are seen on the
  1498. monitor.  If you do not specify /R then
  1499. black will be printed as white and white
  1500. will be printed as black.
  1501.  
  1502. /B^ prints the background color.  This
  1503. switch is only valid on multi-color
  1504. printers.  The default is to not print
  1505. the background color.
  1506.  
  1507. In the high resolution modes the image
  1508. will be printed on the printer sideways.
  1509.  
  1510. EXAMPLE:  GRAPHICS GRAPHICS /R^
  1511.  
  1512. will load the drivers necessary to print
  1513. graphics to the IBM Graphics printer
  1514. displaying black as black and white as
  1515. white.
  1516.  
  1517. NOTE:^  Graphic screen dumps will take
  1518. longer than text screen dumps.  Text
  1519. screen dumps will still be possible
  1520. after the GRAPHICS command is executed.
  1521.  
  1522. HELP
  1523. COMMAND NAME:^  HELP
  1524.  
  1525. RESHELP is the memory resident or POP UP
  1526. version of HELP.  RESHELP functions
  1527. identically to HELP with only a few
  1528. exceptions.
  1529.  
  1530. DESCRIPTION:^   Displays information
  1531. on various commands.
  1532.  
  1533. USE:^  HELP [COMMAND]
  1534.  
  1535. [COMMAND]^ is optional.  If HELP
  1536. is entered without a COMMAND, a list
  1537. of commands will be displayed and you
  1538. will be able to select one using the
  1539. cursor keys.  
  1540.  
  1541. If HELP is entered with a COMMAND
  1542. name, then the list of commands will not
  1543. be shown, but the HELP information for
  1544. the command entered will be displayed.
  1545.  
  1546. EXAMPLE:  HELP COPY^
  1547.  
  1548. will display information available for
  1549. the COPY command.
  1550.  
  1551. While you are in the list of commands,
  1552. you may use the up and down arrows^ to
  1553. scroll one COMMAND NAME at a time, the
  1554. PgUp^ and PgDn^ keys to scroll one
  1555. screen at a time, and the Home^ and
  1556. End^ keys to scroll to the first and
  1557. last COMMAND NAMES.  Enter^ will
  1558. select the COMMAND that is highlighted
  1559. and ESC^ape will exit the program.
  1560.  
  1561. While you are in the HELP window, you
  1562. may use the up and down arrows^ to
  1563. scroll one line at a time or the PgUp^
  1564. and PgDn^ keys to scroll one screen at
  1565. a time and the Home^ and End^ keys
  1566. to scroll to the first and last lines. 
  1567. Pressing the ESC^ape key will
  1568. allow you to exit.
  1569.  
  1570. Any time that the second window is
  1571. displayed you may display the COMMAND
  1572. WINDOW by pressing C.
  1573.  
  1574. The COMMAND WINDOW provides an easy way
  1575. to enter the command that you need help
  1576. with.  Just type in the command using
  1577. the instructions or examples.  The HELP
  1578. information will still scroll up and
  1579. down while the COMMAND WINDOW is
  1580. displayed.
  1581.  
  1582. When using HELP, the command that you
  1583. enter using the COMMAND WINDOW will be
  1584. processed immediately.  
  1585.  
  1586. When you use the COMMAND WINDOW with
  1587. RESHELP, the command that you entered
  1588. will be sent to the keyboard after you
  1589. are finished.
  1590.  
  1591. IF
  1592. COMMAND NAME:^  IF
  1593.  
  1594. DESCRIPTION:^   Performs conditional
  1595. execution of commands.  If the condition
  1596. is met then then the command is 
  1597. executed.
  1598.  
  1599. COMMAND TYPE:^  Internal (batch)
  1600.  
  1601. VERSION:^   2.0 and up
  1602.  
  1603. USE:^  IF [NOT] condition command
  1604.  
  1605. If the condition is met then the command
  1606. will be executed.  If the condition is
  1607. not met then the command will be
  1608. ignored.
  1609.  
  1610. If the NOT^ parameter is entered, the
  1611. command is executed when the condition
  1612. is false.
  1613.  
  1614. command^ is the DOS command or program
  1615. to be executed when the condition is
  1616. met.
  1617.  
  1618. condition^ can be one of the 
  1619. following:
  1620.  
  1621.  
  1622.      ERRORLEVEL number^
  1623.      string1 == string2^
  1624.      EXIST filename^
  1625.  
  1626.  
  1627. ERRORLEVEL number^,  where number is
  1628. the exit code of the previously executed
  1629. program.  
  1630.  
  1631. The possible ERRORLEVEL numbers^ are:
  1632.  
  1633.  0 = Normal completion^
  1634.  1 = No files found^
  1635.  3 = Terminated by CTRL-BREAK or^
  1636.      ESCAPE^
  1637.  4 = Terminated because of error^
  1638.  
  1639. The ERRORLEVEL number condition will be
  1640. true if the last program executed has an
  1641. exit code equal to or greater than the
  1642. number specified.
  1643.  
  1644. string1 == string2^ is true if string1
  1645. and string2 are exactly identical.  An
  1646. uppercase character in one string must
  1647. be uppercase in the other string to be a
  1648. match.
  1649.  
  1650. EXIST filename^ is true if the
  1651. specified file exists.  A drive and path
  1652. may be specified.  
  1653.  
  1654.  
  1655. EXAMPLE:  IF EXIST DATA.DOC WRITE^
  1656.  
  1657. checks to see if the file DATA.DOC
  1658. exists.  If it does, then the command
  1659. WRITE.BAT will be executed.  If it
  1660. doesn't, then the command will be
  1661. ignored.
  1662.  
  1663. JOIN
  1664. COMMAND NAME:^  JOIN
  1665.  
  1666. DESCRIPTION:^   Logically links a disk
  1667. drive to a directory on another drive.
  1668.  
  1669. COMMAND TYPE:^  External
  1670.  
  1671. VERSION:^   3.1 and up
  1672.  
  1673. USE:^  JOIN
  1674.  
  1675.     or^
  1676.  
  1677. JOIN d: d:\directory
  1678.  
  1679.     or^
  1680.  
  1681. JOIN d: /D
  1682.  
  1683. d:^ specifies the drive to be JOINed
  1684. to a directory on another drive.
  1685.  
  1686. d:\directory^ specifies the directory
  1687. that the previous drive will be JOINed
  1688. to.
  1689.  
  1690. /D^ disconnects a previous JOIN.
  1691.  
  1692. JOIN entered with no parameters will
  1693. display the drives and directories that
  1694. are currently JOINed.
  1695.  
  1696. EXAMPLE:  JOIN A: C:\WORKAREA^
  1697.  
  1698. joins drive A: to the directory
  1699. C:\WORKAREA.
  1700.  
  1701. KEYBxx
  1702. COMMAND NAME:^  KEYBxx
  1703.  
  1704. DESCRIPTION:^   Replaces the current
  1705. keyboard program with a program which
  1706. will support a foreign language
  1707. keyboard.
  1708.  
  1709. COMMAND TYPE:^  External
  1710.  
  1711. VERSION:^   3.0 and up
  1712.  
  1713. USE:^  KEYBxx
  1714.  
  1715. xx^ can be any one of the following:
  1716.  
  1717.   UK  - United Kingdom^
  1718.   GR  - Germany^
  1719.   FR  - France^
  1720.   IT  - Italy^
  1721.   SP  - Spain^
  1722.  
  1723. After loading a keyboard driver, you may
  1724. change from the KEYBxx program to the US
  1725. program by pressing CTRL-ALT-F1^.  You
  1726. may switch back to the KEYBxx program by
  1727. pressing CTRL-ALT-F2^.
  1728.  
  1729. You can automatically load a foreign
  1730. keyboard driver by using a diskette
  1731. created using the SELECT^ command.
  1732.  
  1733. EXAMPLE:  KEYBFR^
  1734.  
  1735. loads the driver necessary to support a
  1736. French keyboard.
  1737.  
  1738. LABEL
  1739. COMMAND NAME:^  LABEL
  1740.  
  1741. DESCRIPTION:^   Creates, modifies, or
  1742. deletes a diskette's volume label.
  1743.  
  1744. COMMAND TYPE:^  External
  1745.  
  1746. VERSION:^   3.0 and up
  1747.  
  1748. USE:^  LABEL [d:][volume label]
  1749.  
  1750. d:^ specifies the drive which contains
  1751. the diskette to be labeled.
  1752.  
  1753. volume label^ specifies the label to
  1754. be written on the disk.  A volume label
  1755. can be up to 11 characters long.  If you
  1756. do not specify a volume label when using
  1757. the LABEL command you will be prompted
  1758. for one.
  1759.  
  1760. EXAMPLE:  LABEL C:MYDISK^
  1761.  
  1762. will place the label MYDISK on drive
  1763. C:.
  1764.  
  1765. LASTDRIVE
  1766. COMMAND NAME:^  LASTDRIVE
  1767.  
  1768. DESCRIPTION:^   Specifies the maximum
  1769. number of drives accessible by DOS.
  1770.  
  1771. COMMAND TYPE:^  System Configuration
  1772.  
  1773. VERSION:^   3.0 and up
  1774.  
  1775. USE:^  LASTDRIVE = x
  1776.  
  1777. x^ can be any letter from A through Z.
  1778.  
  1779. The letter that you enter will represent
  1780. the last drive available in the system.
  1781.  
  1782. If you enter a letter which is less than
  1783. the total number of drives on your
  1784. system, the LASTDRIVE command will be
  1785. ignored.
  1786.  
  1787. EXAMPLE:  LASTDRIVE = C^
  1788.  
  1789. sets the last drive in the system as
  1790. drive C:.
  1791.  
  1792. NOTE:^  This command must be placed in
  1793. the CONFIG.SYS file and is not a normal
  1794. DOS command.
  1795.  
  1796. MKDIR
  1797. COMMAND NAME:^  MKDIR
  1798.  
  1799. DESCRIPTION:^   Creates a sub-
  1800. directory.
  1801.  
  1802. COMMAND TYPE:^  Internal
  1803.  
  1804. VERSION:^   2.0 and up
  1805.  
  1806. USE:^  MKDIR [d:]path
  1807.  
  1808.     or^
  1809.  
  1810. MD [d:]path
  1811.  
  1812. d: path^ specifies the drive and path
  1813. where the subdirectory will be located.
  1814.  
  1815. Path must be 63 characters long or
  1816. less.
  1817.  
  1818. EXAMPLE:  MKDIR \DOS^
  1819.             or^
  1820.           MD \DOS^
  1821.  
  1822. creates the subdirectory DOS directly
  1823. under the root directory.
  1824.  
  1825. MODE
  1826. COMMAND NAME:^  MODE
  1827.  
  1828. DESCRIPTION:^   Sets the mode of
  1829. operation for a printer, asynchronous
  1830. adapter, or graphics monitor.  It also
  1831. can redirect parallel printer output to
  1832. the asynchronous adapter.
  1833.  
  1834. COMMAND TYPE:^  External
  1835.  
  1836. VERSION:^   2.0 and up
  1837.  
  1838. USE:^  MODE LPT#[:][n][,[m][,P]]
  1839.  
  1840.     or^
  1841.  
  1842. MODE n
  1843.  
  1844.     or^
  1845.  
  1846. MODE [n] ,m [,T]
  1847.  
  1848.     or^
  1849.  
  1850. MODE COMn[:]baud[,[parity][,[databits]
  1851.      [,[stopbits][,P]]]]
  1852.  
  1853.     or^
  1854.  
  1855. MODE LPT#[:] = COMn:
  1856.  
  1857.  
  1858.  
  1859. EXAMPLE # 1  -  Printer^
  1860.  
  1861. MODE LPT#[:][n][,[m[,P]]
  1862.  
  1863. LPT#^ represents the printer number
  1864.  
  1865. n^ specifies either 80 or 132 
  1866. characters per line
  1867.  
  1868. m^ specifies 6 or 8 lines per inch
  1869.  
  1870. P^ tells your computer to continue
  1871. trying to print when time-out errors
  1872. occur
  1873.  
  1874. EXAMPLE:  MODE LPT1:80,8^
  1875.  
  1876. sets line printer number 1 to 80
  1877. characters per line and 8 lines per
  1878. inch.
  1879.  
  1880.  
  1881.  
  1882. EXAMPLE # 2  -  Monitor^
  1883.  
  1884. MODE n
  1885.  
  1886.   or^
  1887.  
  1888. MODE [n],m[,T]
  1889.  
  1890. n^ is one of the following options
  1891. describing the monitor attached.
  1892.  
  1893. 40^ specifies a screen width of 40
  1894. characters (Color graphics adapter only)
  1895.  
  1896. 80^ specifies a screen width of 80
  1897. characters (Color graphics adapter only)
  1898.  
  1899. BW40^ disables the color on a color
  1900. monitor and sets the screen width to 40
  1901. characters
  1902.  
  1903. BW80^ disables the color on a color
  1904. monitor and sets the screen width to 80
  1905. characters
  1906.  
  1907. CO40^ enables the color on a color
  1908. monitor and sets the screen width to 40
  1909. characters
  1910.  
  1911. CO80^ enables the color on a color
  1912. monitor and sets the screen width to 80
  1913. characters
  1914.  
  1915. MONO^ selects the monochrome monitor
  1916. to be the active monitor
  1917.  
  1918. m^ shifts the display left or right. 
  1919. L for left and R for right.
  1920.  
  1921. T^ displays a test pattern to help
  1922. align the screen when shifting it left
  1923. or right.
  1924.  
  1925. EXAMPLE:  MODE CO80^
  1926.  
  1927. selects the color monitor, enables
  1928. color, and sets the monitor to 80
  1929. characters per line.
  1930.  
  1931.  
  1932. EXAMPLE #3  -  Asynchronous Adapter^
  1933.                   (Serial Port)^
  1934.  
  1935. MODE COMn[:]baud[,parity[,databits
  1936.      [,stopbits[,P]]]]
  1937.  
  1938. COMn^ is the asynchronous adapter to
  1939. select.  The acceptable values are 1 or
  1940. 2.
  1941.  
  1942. baud^ selects the speed that the
  1943. asynchronous adapter will operate at. 
  1944. The acceptable values are:
  1945.  
  1946. 110, 150, 300, 600, 1200, 2400, 4800,
  1947. and 9600.
  1948.  
  1949. You may abbreviate the baud rate by
  1950. using the first two digits.
  1951.  
  1952. parity^ can be N (none), O (odd), or E
  1953. (even).
  1954.  
  1955. databits^ can be either 7 or 8.
  1956.  
  1957. stopbits^ can be either 1 or 2.
  1958.  
  1959. P^ indicates that the asynchronous
  1960. adapter will be connected to a printer.
  1961.  
  1962. EXAMPLE:  MODE COM1:96,N,8,1,P^
  1963.  
  1964. selects asynchronous port #1 and sets it
  1965. for 9600 baud, no parity, 8 databits, 1
  1966. stopbit, and sets it to be used with a
  1967. printer.
  1968.  
  1969.  
  1970.  
  1971. EXAMPLE #4  -  Redirecting Parallel^
  1972. Printer Output to an Asynchronous^
  1973. Adapter.^
  1974.  
  1975. MODE LPT#[:] = COMn
  1976.  
  1977. LPT#^ is the parallel port number to
  1978. be redirected.
  1979.  
  1980. COMn^ is the asynchronous adapter that
  1981. the output will be redirected to.
  1982.  
  1983. EXAMPLE:  MODE LPT1: = COM1^
  1984.  
  1985. redirects output from LPT1 to COM1.  Any
  1986. future attempts to print to LPT1 will be
  1987. automatically routed to COM1.
  1988.  
  1989. NOTE:^  You must initialize the
  1990. asynchronous adapter (using example 3)
  1991. before redirecting output.
  1992.  
  1993. MORE
  1994. COMMAND NAME:^  MORE
  1995.  
  1996. DESCRIPTION:^   Filters input and
  1997. displays it one screen at a time.  The
  1998. message 'MORE' will appear if more data
  1999. is available.
  2000.  
  2001. COMMAND TYPE:^  External
  2002.  
  2003. VERSION:^   2.0 and up
  2004.  
  2005. USE:^  MORE
  2006.  
  2007. This filter is usually used in
  2008. conjunction with the | (pipe).  The pipe
  2009. is used to send the output from a
  2010. command and send it to another to be
  2011. processed.
  2012.  
  2013. EXAMPLE:  DIR | MORE^
  2014.  
  2015. The output from DIR will be piped to
  2016. MORE and will be displayed one screen at
  2017. a time.
  2018.  
  2019. PATH
  2020. COMMAND NAME:^  PATH
  2021.  
  2022. DESCRIPTION:^   Sets the path of
  2023. directories that DOS will search when
  2024. a command is not found in the current
  2025. directory.
  2026.  
  2027. COMMAND TYPE:^  Internal
  2028.  
  2029. VERSION:^   2.0 and up
  2030.  
  2031. USE:^  PATH [[d:]path[[;[d:]
  2032.       path]...]]]
  2033.  
  2034. d: path; d: path;...^ define the paths
  2035. that DOS will search for commands and
  2036. programs.
  2037.  
  2038. PATH will only find files that can be
  2039. executed, such as .COM, .EXE, and .BAT.
  2040.  
  2041. EXAMPLE:  PATH C:\DOS;C:\BASIC^
  2042.  
  2043. After the above command has been
  2044. entered, assume we enter the command
  2045. TREE.  DOS will first search the current
  2046. directory.  If it doesn't find the
  2047. command in the current directory, it
  2048. will search the directory C:\DOS.  If
  2049. TREE is found in the C:\DOS directory
  2050. then it will be executed.  If it is not
  2051. found, then the search will be continued
  2052. until the command TREE is found or until
  2053. all directories have been searched.
  2054.  
  2055. PAUSE
  2056. COMMAND NAME:^  PAUSE
  2057.  
  2058. DESCRIPTION:^   Suspends execution of
  2059. a batch file until a key is pressed.
  2060.  
  2061. COMMAND TYPE:^  Internal (batch)
  2062.  
  2063. VERSION:^   2.0 and up
  2064.  
  2065. USE:^  PAUSE [comment]
  2066.  
  2067. comment^ is an optional comment that
  2068. may be entered.  It will be displayed
  2069. when PAUSE is executed.
  2070.  
  2071. EXAMPLE:  PAUSE Make sure that 
  2072.           your printer is on.^
  2073.  
  2074. When this PAUSE command is executed, the
  2075. following message will appear.
  2076.  
  2077. Make sure that your printer is on.^
  2078. Strike a key when ready...^
  2079.  
  2080. The message Strike a key when ready^
  2081. is automatically displayed whenever the
  2082. PAUSE command is used.
  2083.  
  2084. PRINT
  2085. COMMAND NAME:^  PRINT
  2086.  
  2087. DESCRIPTION:^   Prints text (ASCII)
  2088. files in the background mode. 
  2089.  
  2090. COMMAND TYPE:^  External 
  2091.  
  2092. VERSION:^   2.0 and up
  2093.  
  2094. USE:^  PRINT [/D: device] 
  2095.       [/B:buffersize] [/U:busytick] 
  2096.       [/M:maxtick] [/S:timeslice]
  2097.       [/Q:quesize][/C][/T][/P] [[d:]
  2098.       [path][filename]...]
  2099.  
  2100. /D:device^ specifies the device to
  2101. PRINT to.
  2102.  
  2103. /B:buffersize^ specifies the size of
  2104. the buffer (in bytes).
  2105.  
  2106. /U:busytick^ specifies the number of
  2107. clockticks that PRINT will wait while
  2108. the print device is busy or unavailable.
  2109.  
  2110. /M:maxtick^ specifies the number of
  2111. ticks that PRINT can have to print to
  2112. the print device.  Values from 1 to 255
  2113. will be accepted.
  2114.  
  2115. /S:timeslice^ specifies the time-slice
  2116. value. Values from 1 to 255 will be
  2117. accepted.
  2118.  
  2119. /Q:quesize^ specifies the number of
  2120. PRINT files that may be in the queue. 
  2121. Values from 1 to 32 are acceptable.
  2122.  
  2123. /C^ selects the cancel mode.
  2124.  
  2125. /T^ terminates the entire PRINT 
  2126. procedure.  All files currently being
  2127. PRINTed will be cancelled.
  2128.  
  2129. /P^ sets the print mode.  The preced-
  2130. ing filename and any files following /P
  2131. will be added to the PRINT queue.
  2132.  
  2133. d: path filename...^ is a list of
  2134. files to PRINT.
  2135.  
  2136.  
  2137. EXAMPLE: PRINT TEST.* /C^
  2138.  
  2139. will cancel all files with a filename of
  2140. test from the print queue.
  2141.  
  2142.  
  2143. EXAMPLE: PRINT TEST.DOC /C T.DOC /P^
  2144.  
  2145. cancels TEST.DOC and adds T.DOC to
  2146. the print queue.
  2147.  
  2148. PROMPT
  2149. COMMAND NAME:^  PROMPT
  2150.  
  2151. DESCRIPTION:^   Changes the DOS
  2152. prompt.
  2153.  
  2154. COMMAND TYPE:^  Internal
  2155.  
  2156. VERSION:^   2.0 and up
  2157.  
  2158. USE:^  PROMPT [prompt-text]
  2159.  
  2160. prompt-text^ may be a text message or
  2161. one of several special characters.  
  2162.  
  2163. The special characters are listed below
  2164. along with the prompt that they will
  2165. display.
  2166.  
  2167. $t -  system time^
  2168. $d -  system date^
  2169. $p -  current directory^
  2170. $v -  version number^
  2171. $n -  default drive letter^
  2172. $g -  >^
  2173. $l -  <^
  2174. $b -  |^
  2175. $q -  =^
  2176. $h -  BACKSPACE^
  2177. $e -  ESCAPE^
  2178. $_ -  perform a carriage return and^
  2179.       line feed^
  2180.  
  2181. EXAMPLE:  PROMPT TEST^
  2182.  
  2183. will set the DOS prompt line to TEST.
  2184.  
  2185.  
  2186. EXAMPLE:  PROMPT $p$g^
  2187.  
  2188. will cause the prompt line to display
  2189. the current directory and the >^ 
  2190. character.
  2191.  
  2192. RECOVER
  2193. COMMAND NAME:^  RECOVER
  2194.  
  2195. DESCRIPTION:^   Recovers a file or
  2196. complete disk that contains bad sectors.
  2197.  
  2198. COMMAND TYPE:^  External
  2199.  
  2200. VERSION:^   2.0 and up
  2201.  
  2202. USE:^  RECOVER [d:][path]filename
  2203.          
  2204.     or^
  2205.  
  2206. RECOVER d:
  2207.  
  2208. d: path filename^  specifies
  2209. the drive, path, and filename of the
  2210. file or files that you wish to
  2211. recover.
  2212.  
  2213. The second format, RECOVER d:^ will
  2214. recover all files on a disk.
  2215.  
  2216. Individually recovered files will simply
  2217. be written over the old file (without
  2218. the defective sectors).
  2219.  
  2220. NOTE:^  When you recover an entire
  2221. disk, all files will be renamed and the
  2222. files which have been recovered will be
  2223. named in the following manner.
  2224.  
  2225.             FILEnnnn.REC^
  2226.  
  2227. nnnn^ is a sequential number starting
  2228. at 001.
  2229.  
  2230. EXAMPLE:  RECOVER A:^
  2231.  
  2232. recovers all files on drive A: renaming
  2233. them with the FILEnnnn.REC naming
  2234. convention.
  2235.  
  2236. REM
  2237. COMMAND NAME:^  REM
  2238.  
  2239. DESCRIPTION:^   Displays a remark
  2240. during the execution of a batch file.
  2241.  
  2242. COMMAND TYPE:^  Internal (batch)
  2243.  
  2244. VERSION:^   2.0 and up
  2245.  
  2246. USE:^  REM [comment]
  2247.  
  2248. A comment^ is generally used in a
  2249. batch file to display messages during 
  2250. execution.
  2251.  
  2252. EXAMPLE:  REM This is a test!^
  2253.  
  2254. will display the message:
  2255.   
  2256.           REM This is a test!^
  2257.  
  2258. REN[AME]
  2259. COMMAND NAME:^  REN[AME]
  2260.  
  2261. DESCRIPTION:^   Renames a file (or
  2262. group of files).  REN is the abbreviated
  2263. form of RENAME.  REN and RENAME are the
  2264. same command.  Wildcard characters ? and
  2265. * are allowed in the filenames.
  2266.  
  2267. COMMAND TYPE:^  Internal
  2268.  
  2269. VERSION:^   2.0 and up
  2270.  
  2271. USE:^  REN[AME] [d:][path] filename
  2272.       filename
  2273.  
  2274. d: path filename^ specifies the
  2275. file(s) to be RENAMEd.
  2276.  
  2277. The second filename^ is the new name
  2278. for the file(s).
  2279.  
  2280. EXAMPLE:  REN TEST TEST1.DAT^
  2281.  
  2282. changes the name of the file TEST to
  2283. TEST1.DAT.
  2284.  
  2285. REPLACE
  2286. COMMAND NAME:^  REPLACE
  2287.  
  2288. DESCRIPTION:^   Replaces files on a
  2289. disk or adds files to a disk.  REPLACE
  2290. is very similar to COPY, but several
  2291. additional options are available with
  2292. REPLACE.
  2293.  
  2294. COMMAND TYPE:^  External
  2295.  
  2296. VERSION:^  3.2 and up
  2297.  
  2298. USE:^  REPLACE [d:][path]filename
  2299.       [d:][path][/A][/P][/R][/S][/W]
  2300.  
  2301. d: path filename^ specifies the
  2302. filenames on the source disk that will
  2303. replace the files on the destination
  2304. disk.
  2305.  
  2306. d: path^ specifies the destination
  2307. drive and directory of the files that
  2308. are to be replaced.
  2309.  
  2310. /A^ causes REPLACE to copy only the
  2311. files that do not already exist on the
  2312. destination disk.
  2313.  
  2314. /P^ causes REPLACE to ask you whether
  2315. or not you want to replace each file. 
  2316. You will be prompted as each file is
  2317. copied.
  2318.  
  2319. /R^ causes REPLACE to replace the read
  2320. only files.
  2321.  
  2322. /S^ causes REPLACE to search all 
  2323. subdirectories on the destination disk
  2324. for matching files.  Matching files
  2325. found in any subdirectory will be
  2326. REPLACEd.  /S and /A can not be used
  2327. together.
  2328.  
  2329. /W^ causes REPLACE to wait for you to
  2330. insert a disk.
  2331.  
  2332. EXAMPLE:  REPLACE TEST.DAT C:\ /S^
  2333.  
  2334. REPLACE will replace any copy of the
  2335. file TEST.DAT in any and all directories
  2336. on drive C: with the copy on drive A:
  2337. (the default drive).
  2338.  
  2339. RESTORE
  2340. COMMAND NAME:^  RESTORE
  2341.  
  2342. DESCRIPTION:^   Restores backed up
  2343. files from one disk to another. 
  2344.  
  2345. COMMAND TYPE:^  External
  2346.  
  2347. VERSION:^   2.0 and up
  2348.  
  2349. USE:^  RESTORE d: [d:][path] filename
  2350.       [/S][/P]
  2351.  
  2352. d:^ specifies the drive that contains
  2353. the backed up files (files created using
  2354. the BACKUP command).
  2355.  
  2356. d: path filename^ specifies the
  2357. names of the files that you want to
  2358. restore and where you want to put them.
  2359.  
  2360. /S^ restores the files in all sub-
  2361. directories.  If /S is not specified,
  2362. only the current directory is restored.
  2363.  
  2364. /P^ causes RESTORE to prompt you
  2365. before restoring files that have changed
  2366. since they were backed up.  /P will also
  2367. cause RESTORE to prompt you before it
  2368. restores a read-only file.
  2369.  
  2370. EXAMPLE:  RESTORE A: C:\*.* /S^
  2371.  
  2372. will restore all files on drive A: 
  2373. (which had previously been backed up
  2374. using BACKUP) to drive C:.  All 
  2375. subdirectories will be restored.
  2376.  
  2377. RMDIR
  2378. COMMAND NAME:^  RMDIR
  2379.  
  2380. DESCRIPTION:^   Removes a sub-
  2381. directory.
  2382.  
  2383. COMMAND TYPE:^  Internal
  2384.  
  2385. VERSION:^   2.0 and up
  2386.  
  2387. USE:^  RMDIR [d:]path
  2388.  
  2389.     or^
  2390.  
  2391. RD [d:]path
  2392.  
  2393. d: path^ specifies the subdirectory
  2394. to remove.
  2395.  
  2396. The subdirectory to be removed must be
  2397. empty or RMDIR will not be allowed.
  2398.  
  2399. EXAMPLE:  RD C:\DOS^
  2400.  
  2401. removes the subdirectory \DOS from drive
  2402. C:.
  2403.  
  2404. SELECT
  2405. COMMAND NAME:^  SELECT
  2406.  
  2407. DESCRIPTION:^   Installs DOS on a new
  2408. disk.  Also installs the keyboard and
  2409. country codes.  CAUTION!!!^  This
  2410. command formats the disk.
  2411.  
  2412. COMMAND TYPE:^  External
  2413.  
  2414. VERSION:^   3.0 and up
  2415.  
  2416. USE:^  SELECT [[A:| B:] D:[path]] xxx
  2417.       yy
  2418.  
  2419. [A:| B:]^ specifies either drive A or
  2420. drive B as the source drive.  The only
  2421. valid choices are A or B.  If you do not
  2422. specify a source drive, drive A will be
  2423. used.  The source drive should contain a
  2424. DOS diskette.
  2425.  
  2426. D: path^ selects the drive and path
  2427. that the DOS files will be copied to. 
  2428. If no drive is specified, drive B will
  2429. be used.  If no path is specified, the
  2430. files will be copied to the root
  2431. directory.
  2432.  
  2433. xxx^ specifies the country code. 
  2434. Country code tells DOS two things.  It
  2435. tells DOS which date and time format to
  2436. use and it tells DOS which currency
  2437. symbol to use.
  2438.  
  2439. yy^ selects the keyboard code.
  2440.  
  2441. The following table shows the available
  2442. country and keyboard codes.
  2443.  
  2444.  
  2445.              COUNTRY   KEYBOARD^
  2446.                CODE      CODE^
  2447.  
  2448. AUSTRALIA      061        *^
  2449. BELGIUM        032        *^
  2450. CANADA/FRENCH  002        *^
  2451. DENMARK        045        *^
  2452. FINLAND        358        *^
  2453. FRANCE         033        FR^
  2454. GERMANY        049        GR^
  2455. ITALY          039        IT^
  2456. ISRAEL         972        *^
  2457. MIDDLE EAST    785        *^
  2458. NETHERLANDS    031        *^
  2459. NORWAY         047        *^
  2460. PORTUGAL       351        *^
  2461. SPAIN          034        SP^
  2462. SWEDEN         046        *^
  2463. SWITZERLAND    041        *^
  2464. U. KINGDOM     044        UK^
  2465. USA            001        US^
  2466.  
  2467. *^ The keyboard routine may be
  2468. supplied on a separate diskette, or you
  2469. may choose any keyboard routine by using
  2470. the KEYBxx command.
  2471.  
  2472. EXAMPLE:  SELECT A: C:\ 034 SP^
  2473.  
  2474. performs the SELECT command using drive
  2475. A: as the source drive and drive C: as
  2476. the destination drive.  It also selects
  2477. COUNTRY code 034 (Spain) and KEYBOARD
  2478. code SP (Spanish).
  2479.  
  2480. SET
  2481. COMMAND NAME:^  SET
  2482.  
  2483. DESCRIPTION:^   Sets the command 
  2484. processor's environment or displays the
  2485. current settings.  Application programs
  2486. and commands may inspect the environment
  2487. string.
  2488.  
  2489. COMMAND TYPE:^  Internal
  2490.  
  2491. VERSION:^   2.0 and up
  2492.  
  2493. USE:^  SET [name=[parameter]]
  2494.  
  2495. If you enter SET with no parameters, the
  2496. current settings will be displayed.  If
  2497. you enter SET and name with no
  2498. parameter, then the current setting for
  2499. name will be deleted from the current
  2500. environment.
  2501.  
  2502. EXAMPLE:  SET look_in=C:\datadir^
  2503.  
  2504. after this command has been executed, an
  2505. application program could examine the
  2506. environment string and determine that
  2507. look_in has been set equal to
  2508. C:\datadir.  This information might be
  2509. used by the application program to
  2510. locate files that it needed.
  2511.  
  2512. SHARE
  2513. COMMAND NAME:^  SHARE
  2514.  
  2515. DESCRIPTION:^   Loads extra support
  2516. for file sharing.  This command is
  2517. used primarily by network applications.
  2518.  
  2519. COMMAND TYPE:^  External
  2520.  
  2521. VERSION:^   3.0 and up
  2522.  
  2523. USE:^  SHARE [/F: filespace]
  2524.       [/L: locks]
  2525.  
  2526. /F: filespace^ allocates file space in
  2527. bytes for the area used to record
  2528. information necessary for file sharing.
  2529.  
  2530. /L: locks^ allocates space for the
  2531. number of locks that you want.
  2532.  
  2533. EXAMPLE:  SHARE^
  2534.  
  2535. loads file sharing support.  The default
  2536. values of 2048 bytes for filespace
  2537. (/F: filespace) and 20 locks (/L: locks)
  2538. will be used.
  2539.  
  2540. SHELL
  2541. COMMAND NAME:^  SHELL
  2542.  
  2543. DESCRIPTION:^   Allows another command
  2544. processor to be used in place of
  2545. COMMAND.COM.
  2546.  
  2547. COMMAND TYPE:^  System Configuration
  2548.  
  2549. VERSION:^   2.0 and up
  2550.  
  2551. USE:^  SHELL = [d:][path] filename
  2552.       [parm1][parm2]
  2553.  
  2554. d: path filename^ specifies the file
  2555. that will be loaded in place of 
  2556. COMMAND.COM.
  2557.  
  2558. NOTE:^  This command must be placed in
  2559. the CONFIG.SYS file and is not a normal
  2560. DOS command.
  2561.  
  2562. SHIFT
  2563. COMMAND NAME:^  SHIFT
  2564.  
  2565. DESCRIPTION:^   Allows use of more
  2566. than 10 replaceable parameters within a
  2567. batch file.
  2568.  
  2569. COMMAND TYPE:^  Internal (batch)
  2570.  
  2571. VERSION:^   2.0 and up
  2572.  
  2573. USE:^  SHIFT
  2574.  
  2575. When more than one replaceable parameter
  2576. is used, SHIFT will shift the parameter
  2577. list one position to the left.  
  2578.  
  2579. EXAMPLE:^  Assume that there is a
  2580. batch file called COPYFILE.BAT that
  2581. copies files from one drive to another.
  2582.  
  2583. Also assume that it uses 4 replaceable
  2584. parameters, %0, %1, %2, and %3.  If you
  2585. invoke COPYFILE.BAT using the
  2586. replaceable parameters:
  2587.  
  2588.     COPYFILE *.DAT *.EXE *.COM *.BAT^
  2589.  
  2590. then %0 equals *.DAT^, %1 equals^
  2591. *.EXE^, %2 equals *.COM^, and %3^
  2592. equals *.BAT^.  After a SHIFT command
  2593. is issued, the list of parameters will
  2594. shift one to the left and, %0 will^
  2595. equal *.EXE^, %1 will equal *.COM^,
  2596. and  %2 will equal *.BAT^.
  2597.  
  2598. SORT
  2599. COMMAND NAME:^  SORT
  2600.  
  2601. DESCRIPTION:^   Reads data from a
  2602. device, sorts it and writes it.
  2603.  
  2604. COMMAND TYPE:^  External
  2605.  
  2606. VERSION:^   2.0 and up
  2607.  
  2608. USE:^  SORT [/R][/+n]
  2609.  
  2610. /R^ causes SORT to sort in reverse
  2611. order.  For example, Z comes before A
  2612. and 9 comes before 1.
  2613.  
  2614. /+n^ causes SORT to sort starting
  2615. with column n.
  2616.  
  2617. This command is usually used in
  2618. conjunction with a pipe ( | ) or
  2619. with file redirection ( < or > ).
  2620.  
  2621. EXAMPLE:  DIR | SORT /+10^
  2622.  
  2623. will read a directory, sort the
  2624. directory using column 10 (the filename
  2625. extension) to sort by, and then display
  2626. the directory.
  2627.  
  2628. EXAMPLE:^  SORT < UNSORTED > SORTED^
  2629.  
  2630. will read the file UNSORTED, sort it and
  2631. write the results to the file SORTED.
  2632.  
  2633. SUBST
  2634. COMMAND NAME:^  SUBST
  2635.  
  2636. DESCRIPTION:^   Allows you to refer to
  2637. a drive and path specifier with a
  2638. different name that you choose.
  2639.  
  2640. COMMAND TYPE:^  External
  2641.  
  2642. VERSION:^   3.1 and up
  2643.  
  2644. USE:^  SUBST d: d:path
  2645.  
  2646.     or^
  2647.  
  2648. SUBST d: /D
  2649.  
  2650.     or^
  2651.  
  2652. SUBST
  2653.  
  2654.  
  2655. d:^ specifies the drive letter that
  2656. you will use as a substitute for a
  2657. particular drive and path.
  2658.  
  2659. d:path^ specifies the drive letter and
  2660. path that you will refer to with a
  2661. nickname.
  2662.  
  2663. /D^ deletes a substitution.  You must
  2664. also specify the drive letter of the
  2665. drive whose substitution you want to
  2666. delete.
  2667.  
  2668. EXAMPLE:  SUBST J: C:\DOS^
  2669.  
  2670. will allow you to treat the directory
  2671. C:\DOS as a drive.  After executing this
  2672. SUBST command, DIR J: and DIR C:\DOS
  2673. would net identical results.
  2674.  
  2675. EXAMPLE:  SUBST J: /D^
  2676.  
  2677. will delete the substitution created in
  2678. the previous example.
  2679.  
  2680. SUBST entered with no parameters will
  2681. display all current substitutions.
  2682.  
  2683.  
  2684. NOTE:^  The first drive letter
  2685. specified (d:) cannot be the default
  2686. drive.
  2687.  
  2688. SYS
  2689. COMMAND NAME:^  SYS
  2690.  
  2691. DESCRIPTION:^   Transfers the operat-
  2692. ing system to another disk.
  2693.  
  2694. COMMAND TYPE:^  External
  2695.  
  2696. VERSION:^   2.0 and up
  2697.  
  2698. USE:^  SYS d:
  2699.  
  2700. d:^ specifies the drive that you wish
  2701. to transfer the system files to.
  2702.  
  2703. IBMBIO.COM^ and IBMDOS.COM^ are the
  2704. two invisible files that are copied by
  2705. the SYS command.
  2706.  
  2707. DOS expects IBMBIO.COM and IBMDOS.COM to
  2708. be the first two files in the directory.
  2709. If you get an error using the SYS
  2710. command it is probably because one or
  2711. both of the first two positions are
  2712. already occupied.
  2713.  
  2714. EXAMPLE:  SYS C:^
  2715.  
  2716. transfers the system files (IBMBIO.COM
  2717. and IBMDOS.COM) to drive C.
  2718.  
  2719. TIME
  2720. COMMAND NAME:^  TIME
  2721.  
  2722. DESCRIPTION:^   Displays and sets the
  2723. system time.
  2724.  
  2725. COMMAND TYPE:^  Internal
  2726.  
  2727. VERSION:^   2.0 and up
  2728.  
  2729. USE:^  TIME [hh:mm[:ss[.xx]]]
  2730.  
  2731. hh^ specifies the hours using military
  2732. time format (0 to 23).  
  2733.  
  2734. mm^ specifies minutes.  Numbers from 0
  2735. to 59 will be accepted for minutes.
  2736.  
  2737. ss^ specifies seconds.  Numbers from 0
  2738. to 59 will be accepted for seconds.
  2739.  
  2740. xx^ specifies hundredths of a second.
  2741. Numbers from 0 to 99 will be accepted
  2742. for hundredths of a second.
  2743.  
  2744. TIME entered with no parameters will
  2745. display the current time and give you
  2746. the option to either change the time or
  2747. leave it as it is.
  2748.  
  2749. EXAMPLE:  TIME 12:20:15.90^
  2750.  
  2751. sets the time for 12 hours, 20 minutes,
  2752. 15 seconds, and 90 hundredths of a
  2753. second.
  2754.  
  2755. TREE
  2756. COMMAND NAME:^  TREE
  2757.  
  2758. DESCRIPTION:^   Displays all director-
  2759. ies and subdirectories on a particular
  2760. diskette.  It can also list all files in
  2761. each directory and subdirectory.
  2762.  
  2763. COMMAND TYPE:^  External
  2764.  
  2765. VERSION:^   2.0 and up
  2766.  
  2767. USE:^  TREE [d:][/F]
  2768.  
  2769. d:^ is the drive whose directory paths
  2770. will be listed.
  2771.  
  2772. /F^ causes TREE to list the individual
  2773. files in each directory as well as the
  2774. paths.
  2775.  
  2776. EXAMPLE:  TREE C: /F^
  2777.  
  2778. displays the directory paths of drive C
  2779. and also lists all files in each
  2780. directory.
  2781.  
  2782. TYPE
  2783. COMMAND NAME:^  TYPE
  2784.  
  2785. DESCRIPTION:^   Lists the contents of
  2786. a file to the display.
  2787.  
  2788. COMMAND TYPE:^  Internal
  2789.  
  2790. VERSION:^   2.0 and up
  2791.  
  2792. USE:^  TYPE [d:][path]filename
  2793.  
  2794. d: path filename^ specifies the drive,
  2795. path, and filename of the file to be
  2796. TYPEd.
  2797.  
  2798. If the file that you TYPE is not
  2799. readable, it probably is not a text or
  2800. ASCII file.
  2801.  
  2802. EXAMPLE:  TYPE TEST.TXT^
  2803.  
  2804. displays the file TEST.TXT on the
  2805. screen.  By modifying the command to
  2806. TYPE TEST.TXT > PRN, the file will be
  2807. sent to the printer.
  2808.  
  2809. VDISK.SYS
  2810. COMMAND NAME:^  VDISK.SYS
  2811.  
  2812. DESCRIPTION:^   VDISK sets up a
  2813. virtual disk.  Virtual disks actually
  2814. make your computers memory act like a
  2815. disk drive.  As a result, a virtual disk
  2816. will be much faster than an actual disk
  2817. drive.
  2818.  
  2819. COMMAND TYPE:^  External
  2820.  
  2821. VERSION:^  3.0 and up
  2822.  
  2823. USE:^  DEVICE=VDISK.SYS[comment][bbb]
  2824.       [comment][sss][comment][ddd]
  2825.       [/E[:m]]
  2826.  
  2827. comment^ is a message containing
  2828. normal text characters.
  2829.  
  2830. bbb^ is the size of the virtual disk
  2831. in Kbytes.  Values between 1K and the
  2832. memory available in your machine will be
  2833. accepted.
  2834.  
  2835. sss^ is the sector size in bytes. 
  2836. 128, 256, and 512 are the sizes that
  2837. will be accepted.
  2838.  
  2839. A smaller sector size will utilize space
  2840. much better, but a larger sector will
  2841. improve performance.
  2842.  
  2843. ddd^ is the number of files that the
  2844. virtual disk can hold.  Values between 2
  2845. and 512 are accepted.
  2846.  
  2847. /E^ will force VDISK to use the
  2848. extended memory (memory above 1 
  2849. megabyte).
  2850.  
  2851. :m^ is the maximum number of sectors
  2852. of data that VDISK will transfer at a
  2853. time.  The possible numbers for :m are 1
  2854. through 8.
  2855.  
  2856. EXAMPLE: DEVICE=VDISK.SYS 200 256
  2857. 64^
  2858.  
  2859. sets up a virtual disk with 200K storage
  2860. space, 256 bytes per sector, and 64
  2861. directory entries.
  2862.  
  2863. NOTE:^  The VDISK.SYS device driver
  2864. must be placed in the CONFIG.SYS file
  2865. and be used in conjunction with the
  2866. DEVICE = DRIVER command. 
  2867.  
  2868. VER
  2869. COMMAND NAME:^  VER
  2870.  
  2871. DESCRIPTION:^   Displays the version
  2872. of DOS that you are currently using.
  2873.  
  2874. COMMAND TYPE:^  Internal
  2875.  
  2876. VERSION:^   2.0 and up
  2877.  
  2878. USE:^  VER
  2879.  
  2880. EXAMPLE:  VER^
  2881.  
  2882. displays the version of DOS that you are
  2883. currently using.
  2884.  
  2885. VERIFY
  2886. COMMAND NAME:^  VERIFY
  2887.  
  2888. DESCRIPTION:^   Turns VERIFY on or
  2889. off.  Verify ensures that data is
  2890. recorded correctly.
  2891.  
  2892. COMMAND TYPE:^  Internal
  2893.  
  2894. VERSION:^   2.0 and up
  2895.  
  2896. USE:^  VERIFY [ON|OFF]
  2897.  
  2898. ON | OFF^ will turn VERIFY ON or OFF.
  2899.  
  2900. When VERIFY is ON, DOS will check to see
  2901. if data written was written correctly. 
  2902.  
  2903.  
  2904. EXAMPLE:  VERIFY ON^
  2905.  
  2906. sets VERIFY to ON.
  2907.  
  2908. VERIFY entered with no parameters will
  2909. display the current setting of VERIFY.
  2910.  
  2911. VOL
  2912. COMMAND NAME:^  VOL
  2913.  
  2914. DESCRIPTION:^   Displays the VOLUME
  2915. LABEL of the specified diskette.
  2916.  
  2917. COMMAND TYPE:^  Internal
  2918.  
  2919. VERSION:^   2.0 and up
  2920.  
  2921. USE:^  VOL [d:]
  2922.  
  2923. d:^ is the drive whose VOLume label
  2924. will be displayed.
  2925.  
  2926. EXAMPLE:  VOL^
  2927.  
  2928. displays the VOLume label of the current
  2929. drive.
  2930.  
  2931. XCOPY
  2932. COMMAND NAME:^  XCOPY
  2933.  
  2934. DESCRIPTION:^   Copies groups of
  2935. files.  Subdirectories can be included.
  2936.  
  2937. COMMAND TYPE:^  External
  2938.  
  2939. VERSION:^   3.2 and up
  2940.  
  2941. USE:^  XCOPY [d:][path] filename
  2942.       [d:][path][filename] [/A][/D][/E]
  2943.       [/M][/P][/S][/V][/W]
  2944.  
  2945.   or^
  2946.  
  2947. XCOPY [d:] path [filename]
  2948. [d:][path] [filename] [/A][/D][/E]
  2949. [/M][/P][/S][/V][/W]
  2950.  
  2951.   or^
  2952.  
  2953. XCOPY d:[path] [filename] 
  2954. [d:][path][filename] [/A][/D][/E]
  2955. [/M][/P][/S][/V][/W]
  2956.  
  2957.  
  2958. The first d: path filename^
  2959. specifies the source drive, path, and
  2960. filename.
  2961.  
  2962. The second d: path filename^
  2963. specifies the destination drive, path,
  2964. and filename.
  2965.  
  2966. /A^ copies only those files that have
  2967. been modified since the last BACKUP /M
  2968. or XCOPY /M.
  2969.  
  2970. /D^ copies files whose date is equal
  2971. to or later than the date specified.  If
  2972. you wish to specify a date, the format
  2973. is /D:mm-dd-yy or whatever date format
  2974. you may have selected using the COUNTRY
  2975. or SELECT commands.
  2976.  
  2977. /E^ causes XCOPY to create sub-
  2978. directories on the destination drive as
  2979. it copies.
  2980.  
  2981. /M^ copies only those files that have
  2982. been modified since the last BACKUP /M
  2983. or XCOPY /M.  The /M option is identical
  2984. to the /A option except XCOPY /M will
  2985. reset the flags on those files that have
  2986. been modified since the last backup.
  2987.  
  2988. /P^ causes XCOPY to prompt you before
  2989. copying each file.
  2990.  
  2991. /S^ causes XCOPY to copy files in any
  2992. subdirectories below the directory that
  2993. XCOPY starts in.
  2994.  
  2995. /V^ causes XCOPY to VERIFY that the
  2996. data recorded was recorded correctly.
  2997.  
  2998. /W^ causes XCOPY to wait for you to
  2999. insert a disk before beginning.
  3000.  
  3001. EXAMPLE:  XCOPY C:\ D:\ /S^
  3002.  
  3003. will copy all files in all directories
  3004. from drive C: to drive D:.
  3005.  
  3006.